#pragma once
#include<stdio.h>
#include<stdlib.h>
#include<time.h>
#include<string.h>
void Insertsort(int* arr, int n);
void Printarr(int* arr, int n);
void Swap(int* p1, int* p2);
void Heapsort(int* arr, int n);
void Adjustdown(int* arr, int n, int parent);
void Bubblesort(int* arr, int n);
void Shellsort(int* arr, int n);
void Selectsort(int* arr, int n);
void Quicksort(int* arr, int left, int right);
void Quicksortnonr(int* arr, int left, int right);
void Mergesort(int* arr, int n);